/**
 * 显示初始化配置信息
 */
Ext.namespace("Ext.ux.config");
 
Ext.ux.config.ShowCofigInfoPanel = Ext.extend(Ext.ux.Wiz.Card, {

	wizardWin: null,
	monitorValid: true, 
	
	initComponent: function(){
		
		Ext.ux.config.ShowCofigInfoPanel.superclass.initComponent.call(this);
		
		var items =  [{
			id: 'configInfo',
			border: false, 
			bodyStyle: 'background:none;', 
			html: ''
		}]; 
		this.add(items);
		
	},
	
	onCardShow:	function(){
		var configInfo = document.getElementById('configInfo');
		var password = this.wizardWin.getPassword();
		var isImportOrg = (this.wizardWin.getIsImportOrg() == true)? '是' : '否';
		var isImportRight = (this.wizardWin.getIsImportRight() == true)? '是' : '否';
			
		configInfo.innerHTML = '您已完成后台系统管理初始化配置，配置信息如下:<br><br>' + 
						'&nbsp;&nbsp;&nbsp;&nbsp;系统管理员登录名：<span style="color:red">aosadmin</span><br><br>' +
						'&nbsp;&nbsp;&nbsp;&nbsp;系统管理员密码：<span style="color:red">' + password + '</span><br><br>' +
						'&nbsp;&nbsp;&nbsp;&nbsp;是否导入机构：<span style="color:red">' + isImportOrg + '</span><br><br>' + 
						'&nbsp;&nbsp;&nbsp;&nbsp;是否导入权限：<span style="color:red">' + isImportRight + '</span>';
						
	}
});